package com.abc.pro.model;

public class OddsInplayEvent extends Event{
    
    public OddsInplayEvent(long id, String name) {
        super(id, name);
    }
    
    public OddsInplayEvent(long id, String name, EventInfo info) {
        super(id, name, info);
    }
    
    @Override
    public int getCount(){
        if(mAh == null && mOu == null){
            return 0;
        } else if(mOu == null){
            return mAh.length;
        } else if(mAh == null){
            return mOu.length;
        } else {
            return Math.max(mAh.length, mOu.length);
        }
    }
}
